FROM scottyengineering/java11
USER root:root
ARG JAR_FILE=build/libs/eureka-demo-0.0.1-SNAPSHOT.jar
WORKDIR /root
COPY ${JAR_FILE}  /root/eureka.jar
ENTRYPOINT ["java","-jar","/root/eureka.jar"]
